<%--
  Created by IntelliJ IDEA.
  User: ASUS
  Date: 2019/1/7
  Time: 16:34
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %><html>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<head>
    <title>Title</title>
</head>
<body>
<form action="${pageContext.request.contextPath}/book/doupdate" method="get">
   <input type="hidden" name="id" value="${bookEntry.id}">
    <table border="1" width="580">
        <tr><td colspan="2" align="center">更改新电子图书</td></tr>
        <tr>
            <td>图书编号：</td> <td><input type="text" name="id" value="${bookEntry.id}"></td>
        </tr>
        <tr>
            <td>图书名称：</td> <td><input type="text" name="title" value="${bookEntry.title}"></td>
        </tr>
        <tr>
            <td>图书摘要：</td> <td><textarea rows="10"  name="summary" cols="50">${bookEntry.summary}</textarea></td>
        </tr>
        <tr>
            <td>上传人：</td> <td><input type="text" name="uploaduser" value="${bookEntry.uploaduser}"></td>
        </tr>
        <tr>
            <td>上传时间：</td> <td><input type="text" name="creatdate" value="<fmt:formatDate value="${bookEntry.createdate}" pattern="yyyy-MM-dd"/>")></td>
        </tr>
        <tr>
            <td colspan="2" align="center">
                <input type="submit" value="提交">&nbsp;&nbsp;&nbsp;&nbsp;
                <a href="${pageContext.request.contextPath}/book/list">返回</a>
            </td>
        </tr>
    </table>
    <script type="text/javascript">${label}</script>
</form>
</body>
</html>
